<!DOCTYPE html>
<html lang="en">
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>教师-进行学生登分</title>
</head>
<body>
<div th:include="/nav.html"></div>
<div>
    <h3>登分【Pro】-录入成绩</h3><hr>
    <table class="table" width="80%">
        <tr >
            <td>ID</td>
            <td>班级编号</td>
            <td>学号</td>
            <td>学生姓名</td>
            <td>课程编号</td>
            <td>课程名称</td>
            <td>成绩</td>
            <td>操作</td>
        </tr>
        <tr th:each="mip : ${markInfoPro}">
            <form action="/tea/addMarkPro" method="post">
                <td><input type="text" name="id" th:value="${mip.id}" readonly></td>
                <td><input type="text" name="clzno" th:value="${mip.user.clzno}" readonly></td>
                <td><input type="text" name="sno" th:value="${mip.user.phone}" readonly></td>
                <td th:text="${mip.user.uname}"></td>
                <td><input type="text" name="cno" th:value="${mip.course.cno}" readonly></td>
                <td th:text="${mip.course.cname}"></td>
                <td><input type="text" name="score" th:value="${mip.score}"></td>
                <td><input type="submit" value="保存"class="btn btn-warning"></td>
            </form>
        </tr>
    </table>
</div>
</body>
</html>